package com.sheyu.mall.product.service.attr;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sheyu.common.utils.PageUtils;
import com.sheyu.mall.product.entity.attr.AttrEntity;
import com.sheyu.mall.product.entity.attr.AttrGroupEntity;
import com.sheyu.mall.product.service.attr.vo.AttrGroupwithAttrsVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author sheyu
 * @email sheyu@XXX.com
 * @date 2020-07-27 12:44:31
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByID(Map<String, Object> params, Long catelogId);

    List<AttrEntity> queryAttrByAttrgroupId(Long attrgroupId);

    List<AttrGroupwithAttrsVo> getAttrGroupAttrs(Long catelogId);
}

